{if $user_status == 3}

{if $member}
	
	
	
	<strong>联系人</strong>：{$member[truename]}&nbsp;{$member[career]}&nbsp;
	{if $member[username] && $AJ[im_web]}{im_web($member[username].'&mid='.$moduleid.'&itemid='.$itemid)}&nbsp;{/if}
	{if $member[qq] && $AJ[im_qq]}{im_qq($member[qq])}&nbsp;{/if}
	{if $member[ali] && $AJ[im_ali]}{im_ali($member[ali])}&nbsp;{/if}
	{if $member[msn] && $AJ[im_msn]}{im_msn($member[msn])}&nbsp;{/if}
	{if $member[skype] && $AJ[im_skype]}{im_skype($member[skype])}&nbsp;{/if}
	[{if online($member[userid])==1}在线{else}离线{/if}] <a href="{$MODULE[2][linkurl]}friend.php?action=add&username={$member[username]}">[加为商友]</a> <a href="{$MODULE[2][linkurl]}message.php?action=send&touser={$member[username]}">[发送信件]</a>
	{if $member[mail]}<span>邮件</span>{anti_spam($member[mail])}{/if}
	
	{if $member[mobile]}<span>手机</span>{anti_spam($member[mobile])}{if $AJ[sms] && $member[vmobile]}&nbsp;&nbsp;<a href="{$MODULE[2][linkurl]}sms.php?action=add&auth={encrypt($member[mobile])}" target="_blank"><img src="{AJ_SKIN}image/sendsms.gif" align="absmiddle" title="发送短信" alt=""/></a>{/if}{/if}
	{/if}


{elseif $user_status == 2}
<div class="px13 t_c">
<table cellpadding="5" cellspacing="5" width="100%">
<tr>
<td class="f_b"><div style="padding:3px;border:#40B3FF 1px solid;background:#E5F5FF;">查看该信息联系方式需支付{$name} <strong class="f_red">{$fee}</strong> {$unit}</div></td>
</tr>
<tr>
<td>我的{$name}余额 <strong class="f_blue">{if $currency=='money'}{$_money}{else}{$_credit}{/if}</strong> {$unit}</td>
</tr>
<tr>
<td>请点击支付按钮支付后查看</td>
</tr>
{if $MOD[fee_period]}
<tr>
<td>支付后可查看<strong class="f_red">{$MOD[fee_period]}</strong>分钟，过期重新计费</td>
</tr>
{/if}
<tr>
<td>
<a href="{$pay_url}"><img src="{AJ_SKIN}image/btn_pay.gif" width="100" height="30" alt="立即支付"/></a>
&nbsp;
<a href="{$MODULE[2][linkurl]}{if $currency=='money'}charge.php?action=pay{else}credit.php?action=buy{/if}"><img src="{AJ_SKIN}image/btn_charge.gif" width="100" height="30" alt="帐户充值"/></a>
</td>
</tr>
</table>
</div>
{elseif $user_status == 1}
<div class="px13 t_c">
<table cellpadding="5" cellspacing="5" width="100%">
<tr>
<td class="f_b"><div style="padding:3px;border:#FFC600 1px solid;background:#FFFEBF;">您的会员级别没有查看联系方式的权限</div></td>
</tr>
<tr>
<td>获得更多机会，建议<span class="f_red">升级</span>会员级别</td>
</tr>
{if $AJ[telephone]}
<tr>
<td>咨询电话：{$AJ[telephone]}</td>
</tr>
{/if}
<tr>
<td>
<a href="{$MODULE[2][linkurl]}grade.php"><img src="{AJ_SKIN}image/btn_upgrade.gif" width="100" height="30" alt="现在升级"/></a>&nbsp;&nbsp;
<a href="{$MODULE[2][linkurl]}grade.php"><img src="{AJ_SKIN}image/btn_detail.gif" width="100" height="30" alt="了解详情"/></a>
</td>
</tr>
</table>
</div>
{elseif $user_status == 0}
<div class="user_warn"><img src="{AJ_SKIN}image/no.gif" align="absmiddle"/> 您还没有登录，请登录后查看联系方式</div>
<div class="user_login">
	<form action="{$MODULE[2][linkurl]}{$AJ[file_login]}" method="post" onsubmit="return user_login();">
	<input type="hidden" name="submit" value="1"/>
	<input name="username" id="user_name" type="text" value="会员名/Email" onfocus="if(this.value=='会员名/Email')this.value='';" class="user_input"/>&nbsp; 
	<input name="password" id="user_pass" type="password" value="password" onfocus="if(this.value=='password')this.value='';" class="user_input"/>&nbsp; 
	<input type="image" src="{AJ_SKIN}image/user_login.gif" align="absmiddle"/>
	</form>
</div>
<div class="user_tip">免费注册为会员后，您可以...</div>
<div class="user_can">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="{$MODULE[2][linkurl]}image/ico_edit.gif" align="absmiddle"/> 发布房源信息</td>
<td><img src="{$MODULE[2][linkurl]}image/ico_product.gif" align="absmiddle"/> 推广房源</td>
</tr>
<tr>
<td><img src="{$MODULE[2][linkurl]}image/ico_homepage.gif" align="absmiddle"/> 建立商铺</td>
<td><img src="{$MODULE[2][linkurl]}image/ico_message.gif" align="absmiddle"/> 在线洽谈生意</td>
</tr>
</table>
</div>
<div class="user_reg_c"><a href="{$MODULE[2][linkurl]}{$AJ[file_register]}"><img src="{AJ_SKIN}image/user_reg.gif" width="260" height="26" alt="还不是会员，立即免费注册"/></a></div>
{else}
<br/><br/><br/>
<center><img src="{AJ_SKIN}image/load.gif"/></center>
<br/><br/><br/>
{/if}